package com.code.exam.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class TestController {

    @GetMapping("/api/ping")
    public Map<String, String> ping() {
        return Map.of("message", "pong", "from", "backend");
    }
}